void illum(vector& pos,vector& color,float rad,int shadows)
Parameter | Type | Description |
---|---|---|
pos | vector& | light position |
color | vector& | light color |
rad | float | light radius |
shadows | int | shadows flag: 0 - no shadows 1 - single object shadows 2 - global shadows |
None
This function dynamicaly illuminates the light_map pixels based on the above parameters.